package com.springboot.demo.design.pattern.processor.impl;

import com.springboot.demo.design.pattern.instruction.Instruction;

/**
 * 用户处理器实现类
 *
 * @author supu
 * @date 2019-03-19 16:40
 **/
public class UserProcessorImpl implements UserProcessor{

    @Override
    public void saveUser(Instruction<?, ?> instruction) {
        instruction.execute();
    }
}
